package org.spring.springboot.dao;

import org.apache.ibatis.annotations.Param;
import org.spring.springboot.domain.GraphFile;

import java.util.List;

public interface GraphFileDao {

    List<GraphFile> selectAll(@Param("userid") String userid);
    GraphFile selectOne(@Param("uuid") String uuid);
    void save(GraphFile graphFile);

    void updateData(@Param("uuid") String uuid, @Param("data") String Data,
                    @Param("iconURL") String iconURL,@Param("extInfo") String extInfo);

    void updateProfile(@Param("uuid") String uuid, @Param("sname") String sname,@Param("parent") String parent,@Param("iconURL") String iconURL);

    void delete(@Param("uuid") String uuid);

}
